package com.tms;


import java.io.IOException;

public class 传化支付回调 {
/*
    public static void main(String[] args) throws IOException {

        String 石头人 = "";
        for(String str : 石头人.split(";")){

        *//*FileReader fileReader = new FileReader("F:\\桌面\\回收站\\开票回调.txt");
        BufferedReader br = new BufferedReader(fileReader);
        String str = br.readLine();
        for(;str!=null;str = br.readLine()){*//*

            System.out.println(str);
            //HttpPost post = new HttpPost("https://tms.suretms.com/jeecg-boot/landTransport/callback/examineOrder");
            HttpPost post = new HttpPost("https://tms.suretms.com/jeecg-boot/landTransport/callback/pay");
            //HttpPost post = new HttpPost("https://tms.suretms.com/jeecg-boot/landTransport/callback/invoice");
            post.addHeader("Content-Type", "application/json");
            post.setEntity(new StringEntity(str, "UTF-8"));
            CloseableHttpClient httpClient = HttpClients.createDefault();
            CloseableHttpResponse httpResponse = httpClient.execute(post);

            System.out.println(EntityUtils.toString(httpResponse.getEntity()));
        }

    }*/

}
